package pub.xspace.nova.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pub.xspace.nova.system.domain.SysResource;
import pub.xspace.nova.system.mapper.SysResourceMapper;
import pub.xspace.nova.system.service.SysResourceService;

/**
 * 资源管理 Service实现类
 * 
 * @author HeJianrong
 */
@Service
public class SysResourceServiceImpl implements SysResourceService {

	@Autowired
	private SysResourceMapper resourceMapper;

	@Override
	public List<SysResource> getResourcesByUserId(String userId) {
		return resourceMapper.selectResourcesByUserId(userId);
	}

}
